package com.design.mode.singleton;



public class SingtonDemo {
	
	public static void main(String[] args) {
		Singleton s1=Singleton.getSingleto();
		Singleton s2=Singleton.getSingleto();
		System.out.println(s1==s2);
		int i=0;
		try {
			System.out.println("try");
		}finally{
			
			System.out.println("finally");
		}
	}


}
